package com.jcl.emessage.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ProducerController

 * @Author yyliu
 * @Date 2018/11/12 17:00
 * @Version 1.0
 **/
@RestController
@RequestMapping("/emessage/phone")
public class ProducerPhoneController {


    @RequestMapping("/hello")
    public String index(@RequestParam String name) {

        return "hello "+name+"，emessage server producer ... ";
    }
}
